package binary.module

/**
 *@author haypo
 *@since 2021/7/20
 */
class Code(
    private val Locals: Array<Locals>,
    val Expr: Expr
) {
    fun getLocalCount(): ULong {
        var n = 0UL
        for (local in Locals) {
            n += local.N.toULong()
        }
        return n
    }
}